Skip to content

Merge rc/1.18 into master#175

Merged
jbj merged 31 commits into
github:masterfrom
hvitved:merge-rc
Sep 11, 2018
Merged

Merge rc/1.18 into master#175
jbj merged 31 commits into
github:masterfrom
hvitved:merge-rc

Conversation

@hvitved

@hvitved hvitved commented Sep 11, 2018

Copy link
Copy Markdown
Contributor

No description provided.

asger-semmle and others added 30 commits September 4, 2018 13:18
The overrides of `Instruction.getOperandMemoryAccess` did not relate
`this` to any of its other parameters, which made it attempt to compute
the Cartesian product of `Instruction` and `TPhiOperand`. This happened
only during computation of aliased SSA. Perhaps the optimizer was able
to eliminate the CP for the non-aliased SSA computation.

With this change, I'm able to compute aliased SSA for medium-sized
snapshots.
Follow a naming structure similar to the data flow library:

- `ControlFlowNode` -> `ControlFlow::Node`.
- `CallableEntryNode` -> `ControlFlow::Nodes::EntryNode`.
- `CallableExitNode` -> `ControlFlow::Nodes::ExitNode`.
- `ControlFlowEdgeType` -> `ControlFlow::SuccessorType`.
- `ControlFlowEdgeSuccessor` -> `ControlFlow::SuccessorTypes::NormalSuccessor`.
- `ControlFlowEdgeConditional -> ControlFlow::SuccessorTypes::ConditionalSuccessor`.
- `ControlFlowEdgeBoolean` -> `ControlFlow::SuccessorTypes::BooleanSuccessor`.
- `ControlFlowEdgeNullness` -> `ControlFlow::SuccessorTypes::NullnessSuccessor`.
- `ControlFlowEdgeMatching` -> `ControlFlow::SuccessorTypes::MatchingSuccessor`.
- `ControlFlowEdgeEmptiness` -> `ControlFlow::SuccessorTypes::EmptinessSuccessor`.
- `ControlFlowEdgeReturn` -> `ControlFlow::SuccessorTypes::ReturnSuccessor`.
- `ControlFlowEdgeBreak` -> `ControlFlow::SuccessorTypes::BreakSuccessor`.
- `ControlFlowEdgeContinue` -> `ControlFlow::SuccessorTypes::ContinueSuccessor`.
- `ControlFlowEdgeGotoLabel` -> `ControlFlow::SuccessorTypes::GotoLabelSuccessor`.
- `ControlFlowEdgeGotoCase` -> `ControlFlow::SuccessorTypes::GotoCaseSuccessor`.
- `ControlFlowEdgeGotoDefault` -> `ControlFlow::SuccessorTypes::GotoDefaultSuccessor`.
- `ControlFlowEdgeException` -> `ControlFlow::SuccessorTypes::ExceptionSuccessor`
C#: Rename and restructure control flow graph entities
- While statements
- Object initializers
…andled. Move `getCondition` to `CaseStmt`. Implement the CFG and tests.
C#: Add tests for extractor fixes, and improve CFG for ConstCases
…object initializer lists fixed by the extractor.
…change-notes

LGTM 1.18: finalize change notes for C/C++
@hvitved hvitved requested a review from jbj September 11, 2018 07:14
@hvitved hvitved requested review from a team as code owners September 11, 2018 07:14
@jbj jbj merged commit 3c3cc2e into github:master Sep 11, 2018
@hvitved hvitved deleted the merge-rc branch September 11, 2018 11:23
aibaars pushed a commit that referenced this pull request Oct 14, 2021
Summary queries for total LOC and user-code LOC
smowton pushed a commit to smowton/codeql that referenced this pull request Jan 17, 2022
MathiasVP added a commit to MathiasVP/ql that referenced this pull request Aug 10, 2025
Update .NET Version for Powershell Extractor to Net 9.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants